Sensei\Internal\Migration\Migration_Job_Scheduler S

Total Complexity 35
Dependencies 6
Dependents 3
Total lines 374
Lines of code 144
Logical lines of code 78
Comment lines 129
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
run_job()
A
52 8 25
is_migration_action()
S
56 4 19
collect_failed_job_errors()
S
64 3 10
get_next_job()
S
64 3 9
schedule()
S
69 2 7
log_migration_complete_event()
S
61 1 13
is_in_progress()
S
75 1 4
get_errors()
S
79 1 3
schedule_job()
S
69 1 7
is_failed()
S
75 1 4
init()
S
78 1 3
is_complete()
S
75 1 4
clear_state()
S
68 1 8
register_job()
S
74 1 4
get_job_hook_name()
S
79 1 3
add_error()
S
72 1 5
is_first_run()
S
75 1 4
start()
S
73 1 5
complete()
S
75 1 4
__construct()
S
81 1 3